/**Author:7rATM Team
 * Date:May 2009
 * Description: the class of persion models some method that provide the client some services
 */ 
package AtmSystem;

public abstract class Person
{
	private String username;
	private String password;
	private int userID;
	private String email;

      /**
       * Constructs a <code>Person</code> object.
       *
       * @param initialUserID  the ID of the person.
       * @param initialUsername the name of the person.
       * @param initialUserPassword the password of the bankAccount.
       * @param initialEmail the Email of the person.
       */

	public Person (int initialUserID,String initialUsername,String initialPassword,String initialEmail)
		{
			userID = initialUserID;
			username = initialUsername;
			password = initialPassword;
			email = initialEmail;
		}

      /** Sets the password of instance variable <code>newPassword</code>.
       *
       * @param password the new password.
       */
	public void setPassword(String newPassword)
	{
		password=newPassword;
	}
       /**
	*get username of this Person
	*
	*@return username of this Person
	*/
	public String getUsername()
	{
		return username;
	}
       /**
	*get password of this Person
	*
	*@return password of this Person
	*/    
	public String getPassword()
	{
		return password;
	}

		public int getUserID()
	{
		return userID;
	}
       /**
	*get email of this Persion
	*
	*@return email of this Persion
	*/
	public String getEmail()
	{
		return email;
	}

}
